/**
  * Copyright 2018 aTool.org 
  */
package com.wang.myapplication.network.bean;

import com.google.gson.annotations.SerializedName;
import com.wang.myapplication.base.MyApp;

public class Userinfo {
    @SerializedName("Birthday")
    private String birthday;
    @SerializedName("Description")
    private String description;
    @SerializedName("DomainID")
    private String domainid;
    @SerializedName("Email")
    private String email;
    @SerializedName("Enable")
    private boolean enable;
    @SerializedName("EnableTime")
    private String enabletime;
    @SerializedName("Flag")
    private String flag;
    @SerializedName("HasSpace")
    private String hasspace;
    @SerializedName("IconCode")
    private String iconcode;
    @SerializedName("LoginID")
    private String loginid;
    @SerializedName("Mac")
    private String mac;
    @SerializedName("Password")
    private String password;
    @SerializedName("PermID")
    private int permid;
    @SerializedName("Sex")
    private int sex;
    @SerializedName("Space")
    private int space;
    @SerializedName("TQDep")
    private boolean tqdep;
    @SerializedName("TQSpec")
    private boolean tqspec;
    @SerializedName("Tel")
    private String tel;
    @SerializedName("TrueName")
    private String truename;
    @SerializedName("UserID")
    private int userid;
    @SerializedName("UserNo")
    private String userno;



    public static int GetUserid() {
        return MyApp.getMyApp().getUserinfo().getUserid();
    }
    public static String GetUserName() {
        return MyApp.getMyApp().getUserinfo().getTruename();
    }
    public static String GetUserIcon() {
        return MyApp.getMyApp().getUserinfo().getIconcode();
    }




    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }
    public String getBirthday() {
        return birthday;
    }

    public void setDescription(String description) {
        this.description = description;
    }
    public String getDescription() {
        return description;
    }

    public void setDomainid(String domainid) {
        this.domainid = domainid;
    }
    public String getDomainid() {
        return domainid;
    }

    public void setEmail(String email) {
        this.email = email;
    }
    public String getEmail() {
        return email;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }
    public boolean getEnable() {
        return enable;
    }

    public void setEnabletime(String enabletime) {
        this.enabletime = enabletime;
    }
    public String getEnabletime() {
        return enabletime;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }
    public String getFlag() {
        return flag;
    }

    public void setHasspace(String hasspace) {
        this.hasspace = hasspace;
    }
    public String getHasspace() {
        return hasspace;
    }

    public void setIconcode(String iconcode) {
        this.iconcode = iconcode;
    }
    public String getIconcode() {
        return iconcode;
    }

    public void setLoginid(String loginid) {
        this.loginid = loginid;
    }
    public String getLoginid() {
        return loginid;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }
    public String getMac() {
        return mac;
    }

    public void setPassword(String password) {
        this.password = password;
    }
    public String getPassword() {
        return password;
    }

    public void setPermid(int permid) {
        this.permid = permid;
    }
    public int getPermid() {
        return permid;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }
    public int getSex() {
        return sex;
    }

    public void setSpace(int space) {
        this.space = space;
    }
    public int getSpace() {
        return space;
    }

    public void setTqdep(boolean tqdep) {
        this.tqdep = tqdep;
    }
    public boolean getTqdep() {
        return tqdep;
    }

    public void setTqspec(boolean tqspec) {
        this.tqspec = tqspec;
    }
    public boolean getTqspec() {
        return tqspec;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }
    public String getTel() {
        return tel;
    }

    public void setTruename(String truename) {
        this.truename = truename;
    }
    public String getTruename() {
        return truename;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }
    public int getUserid() {
        return userid;
    }

    public void setUserno(String userno) {
        this.userno = userno;
    }
    public String getUserno() {
        return userno;
    }

    @Override
    public String toString() {
        return "Userinfo{" +
                "birthday='" + birthday + '\'' +
                ", description='" + description + '\'' +
                ", domainid='" + domainid + '\'' +
                ", email='" + email + '\'' +
                ", enable=" + enable +
                ", enabletime='" + enabletime + '\'' +
                ", flag='" + flag + '\'' +
                ", hasspace='" + hasspace + '\'' +
                ", iconcode='" + iconcode + '\'' +
                ", loginid='" + loginid + '\'' +
                ", mac='" + mac + '\'' +
                ", password='" + password + '\'' +
                ", permid=" + permid +
                ", sex=" + sex +
                ", space=" + space +
                ", tqdep=" + tqdep +
                ", tqspec=" + tqspec +
                ", tel='" + tel + '\'' +
                ", truename='" + truename + '\'' +
                ", userid=" + userid +
                ", userno='" + userno + '\'' +
                '}';
    }
}